#include "atoitest.h"

int main(){
    string str = "15/hello there";
    string temp = str.substr(str.find('/'), str.length());
    int num = atoi(str.substr(0, str.find('/')).c_str());
    cout << str << endl << temp << endl << num << endl;
}
